﻿<%@ Page Title="" Language="C#" MasterPageFile="~/admin/main/AdminBase.Master" AutoEventWireup="true" CodeBehind="add_module.aspx.cs" Inherits="Com.Ompchina.Web.admin.system.add_module" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cph_header" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cph_pagename" runat="server">
    权限配置 &gt; <%= base.ConvertAction("模块") %>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cph_pagelink" runat="server">
    <li><a href="list_module.aspx?action=list">模块列表</a></li>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="cph_main" runat="server">
<form id="frm_addModule" runat="server">
<table class="table" cellpadding="0" cellspacing="0">	
    <tr>
    	<th class="w180">模块分类</th>
        <td class="item w400"><CustomUI:ModuleTypeDDL ID="ddlType" runat="server"></CustomUI:ModuleTypeDDL></td>
        <td class="aitem">必须选择模块的所属分类</td>
    </tr>    
	<tr>
    	<th class="w180">模块名称</th>        
        <td class="item w400"><asp:TextBox ID="txtName" runat="server" MaxLength="20" CssClass="ipttxt w360 h20"></asp:TextBox></td>
        <td class="aitem">模块名称，必须由英文字母和数字组成的最多20位字符</td>
    </tr>
    <tr>
    	<th class="w180">模块地址</th>        
        <td class="item w400"><asp:TextBox ID="txtURL" runat="server" MaxLength="100" CssClass="ipttxt w360 h20"></asp:TextBox></td>
        <td class="aitem">相对于管理根目录的的相对地址，最多100个字符组成</td>
    </tr>
    <tr>
        <th class="w180">菜单显示</th>        
        <td class="item w400"><asp:CheckBox ID="cbMenu" runat="server" /></td>
        <td class="aitem">此模块是否作为菜单显示</td>
    </tr>
    <tr>
    	<th class="w180">模块功能</th>
        <td class="item w400"><CustomUI:AuthFunc ID="authFunc" runat="server"></CustomUI:AuthFunc></td>
        <td class="aitem">模块拥有的功能</td>
    </tr>    
    <tr>
    	<th class="w180">&nbsp;</th>
        <td class="item"><asp:Button ID="btnSave" runat="server" Text="保存" onclick="btnSave_Click" /></td>
        <td class="aitem">&nbsp;<asp:HiddenField ID="hfID" runat="server" Value="0" />
        </td>
    </tr>
</table>
</form>
</asp:Content>